package com.es.gateway.sdk.app.face_search;

import com.es.gateway.sdk.util.GsonUtil;
import lombok.Data;

/**
 * 删除人脸样本，响应对象，参考文档：https://esandinfo.yuque.com/yv6e1k/aa4qsg/kcm58z
 */
@Data
public class DeleteFaceResponse {
    /**
     * 响应状态码
     */
    private String code;
    /**
     * 请求id
     */
    private String requestId;
    /**
     * 响应描述
     */
    private String msg;
    public String toJsonStr(){
        return GsonUtil.getAllJson().toJson(this);
    }
    public static DeleteFaceResponse fromJsonStr(String JsonStr){
        return GsonUtil.getAllJson().fromJson(JsonStr, DeleteFaceResponse.class);
    }
}
